import request from '@/utils/request'

export function addRole(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}

export function editRole(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}


export function getRole(params) {
    return request({
        url: '',
        method: 'get',
        params
    })
}


export function delRole(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}




export function addSysUser(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}

export function editSysUser(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}


export function getSysUser(params) {
    return request({
        url: '',
        method: 'get',
        params
    })
}


export function delSysUser(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}






export function addSysMenu(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}

export function editSysMenu(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}


export function getSysMenu(params) {
    return request({
        url: '',
        method: 'get',
        params
    })
}


export function delSysMenu(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}




export function conctorlSysMenu(data) {
    return request({
        url: '',
        method: 'post',
        data
    })
}
